import axios from 'axios';


// 获取待办列表
export const getTodoList = async (params: any) => {
  const response = await axios.get(`/todoList`, { params });
  return response.data;
};

// 获取已办列表
export const getDoneList = async (params: any) => {
  const response = await axios.get(`/doneList`, { params });
  return response.data;
};

// 审核订单
export const auditOrder = async (data: any) => {
  const response = await axios.post(`/auditOrder`, data);
  return response.data;
};